package com.tro.mail.dao.mapper;

import com.tro.mail.dao.entity.MailMarker;
import com.tro.mail.dao.entity.MailMarkerExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MailMarkerMapper {
    int countByExample(MailMarkerExample example);

    int deleteByExample(MailMarkerExample example);

    int insert(MailMarker record);

    int insertSelective(MailMarker record);

    List<MailMarker> selectByExample(MailMarkerExample example);

    int updateByExampleSelective(@Param("record") MailMarker record, @Param("example") MailMarkerExample example);

    int updateByExample(@Param("record") MailMarker record, @Param("example") MailMarkerExample example);
    
    List<MailMarker> selectMarkByRelation(@Param("mail_id") Long mail_id);
}